home *** CD-ROM | disk | FTP | other *** search
/ PC Player Special 1997 #1 / PC-Player - Special - 1997-01.iso / PATCHES / COLONIZA / 1 / COLUP30G.ZIP / SAMPLE.DOC < prev    next >
Encoding:
Text File  |  1994-08-05  |  2.4 KB  |  57 lines

  1. Colonization Popup Text files:
  2.  
  3. A) Do not translate any line beginning with the "@" character.
  4. B) Curly braces {...} cause the enclosed text to be highlighted.
  5. C) %STRING0 (or %STRING1..3) marks the place where a string will
  6.    be substituted into the text by the program.  The string markers
  7.    can be moved around or taken out entirely.
  8. D) %NUMBER0 (or %NUMBER1..3) marks the place where a number will
  9.    be substituted into the text.  The markers can be moved around
  10.    in the text freely (or removed).
  11. E) The program will automatically wrap the text around lines (so
  12.    line and word length do not generally matter).  Lines will be
  13.    added vertically if necessary.  The only problem occurs if the
  14.    text gets so big as to overflow off the screen.  If this happens,
  15.    the "PopupBoundaries" error will be displayed.  Ways to correct
  16.    this problem include:
  17.     1) shortening the text.
  18.     2) increasing the pixel width of the box (the @WIDTH=190 statement
  19.        can be expanded to @WIDTH=220 or anything up to about 315).
  20.     3) Going to the smaller font by inserting a line @SMALLFONT after
  21.        the @WIDTH line.
  22. F) Be sure not to eliminate any blank lines from the text file.  Blank
  23.    lines often constitute the separator between the main text body and
  24.    menu option lines for interactive popups.  Deleting blank lines may
  25.    cause popup boxes to malfunction (the menu text appearing as main
  26.    body text, for instance).
  27.  
  28.  
  29. Samples (>> denotes example result text from box):
  30.  
  31. @CARGOREADY1
  32. @width=190
  33. A new cargo of {%STRING1} is ready at {%STRING0}, Your Excellency.
  34. %STRING0 has reached its storage capacity for %STRING1 ({%NUMBER0}), so
  35. we may wish to consider building a larger {warehouse} there.
  36.  
  37. >>A new cargo of muskets is ready at Jamestown, Your Excellency.
  38. >>Jamestown has reached its storage capacity for muskets (100), so we
  39. >>may wish to consider building a larger warehouse there.
  40.  
  41. @SIGNTREATY
  42. @width=190
  43. The {%STRING0} and {%STRING1} have signed a peace treaty.
  44.  
  45. >>The Dutch and French have signed a peace treaty.
  46.  
  47. @PEACEMEEK
  48. @width=220
  49. "Excellent. All of the land which you now occupy
  50. shall constitute the {%STRING0} sphere; the land which we occupy shall be
  51. {%STRING1} in perpetuity.  Please remember not to trespass in
  52. those areas."
  53.  
  54. >>"Excellent.  All of the land which you now occupy shall constitute
  55. >>the English sphere; the land which we occupy shall be French in
  56. >>perpetuity.  Please remember not to trespass in those areas."
  57.